body {
            font-family: '微软雅黑', sans-serif;
            background: #f0f2f5;
            margin: 0;
            padding: 15px;
            color: #333;
            transition: background-color 0.3s;
        }
        
        
        .container {
            max-width: 800px;
            margin: 20px auto 0;
            background: rgba(255, 255, 255, 0.7);
            border-radius: 12px;
            box-shadow: 0 2px 10px rgba(0,0,0,0.1);
            padding: 10px;
        }
        
        /* 平台切换按钮 */
        .platform-tabs {
            margin: 0 auto;
            max-width: 820px;
            display: flex;
            flex-wrap: nowrap;
            gap: 60px;
            margin-bottom: 10px;
            overflow: visible;
            justify-content: center;
            padding: 10px 10px;
            position: relative;
        }
        
        .platform-tab {
            flex: 1;
            min-width: 0;
            padding: 5px 5px;
            border: 3px solid rgba(0, 0, 0, 0.1);
            border-radius: 6px;
            cursor: pointer;
            font-size: 16px;
            letter-spacing: 4px; /* 字符间距 */
            text-indent: 2px; /* 补偿，否则不居中 */
            font-weight: 400;
            transition: all 0.25s ease;
            text-align: center;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
            box-shadow: 0 2px 5px rgba(0,0,0,0.3);
            position: relative;
            z-index: 1;
        }
        
        .platform-tab.active {
            transform: scale(1.14);
            box-shadow: 0 3px 6px rgba(0,0,0,0.8);
            z-index: 2;
        }
        
        /* 确保第一个按钮缩放时不会超出左边界 */
        .platform-tab:first-child.active {
            margin-left: 0;
            transform-origin: left center;
        }
        
        /* 确保最后一个按钮缩放时不会超出右边界 */
        .platform-tab:last-child.active {
            margin-right: 0;
            transform-origin: right center;
        }
        
        /* 中间按钮保持中心缩放 */
        .platform-tab:not(:first-child):not(:last-child).active {
            transform-origin: center;
        }
        
        /* 可选：添加响应式设计，在小屏幕上恢复较小间距 */
        @media (max-width: 768px) {
            .platform-tabs {
                gap: 20px;
                padding: 0;
            }
        }
        
        .platform-tab.kw {
            background-color: rgba(var(--kw-border-color), 0.7);
            color: #F1F3F4;
        }
        
        .platform-tab.wy {
            background-color: rgba(var(--wy-border-color), 0.7);
            color: #F1F3F4;
        }
        
        .platform-tab.mg {
            background-color: rgba(var(--mg-border-color), 0.7);
            color: #F1F3F4;
        }
        
        .platform-tab.dj {
            background-color: rgba(var(--dj-border-color), 0.7);
            color: #F1F3F4;
        }
        
        .cover {
            width: 220px;
            height: 220px;
            border-radius: 50%;
            margin: 0 auto 20px;
            overflow: hidden;
            position: relative; /* 新增：为伪元素定位做准备 */
            padding: 4px;
            box-shadow: 0 0 18px rgba(0, 0, 0, 0.5);
            transition: transform 0.3s ease;
            animation: rotate 20s linear infinite;
            animation-play-state: paused;
        }
        
        /* 新增：动态波浪边框（替换原border） */
        .cover::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            border: 4px solid rgba(var(--theme-color-rgb), 0.7);
            border-radius: 50%;
            animation: wave 10s infinite linear;
            animation-play-state: paused; /* 默认暂停 */
            pointer-events: none; /* 避免干扰鼠标事件 */
        }
        
        /* 播放时同时启动旋转和波浪动画 */
        .cover.playing::before,
        .cover.playing {
            animation-play-state: running;
        }
        
        /* 波浪动画关键帧 */
        @keyframes wave {
            0% { transform: scale(1); opacity: 0.7; }
            50% { transform: scale(1.03); opacity: 0.9; }
            100% { transform: scale(1); opacity: 0.7; }
        }
        
        /* 原有样式保留 */
        .cover img {
            width: 96%;
            height: 96%;
            border-radius: 50%;
            margin: 2%;
        }
        
        .cover:hover {
            transform: scale(1.03);
        }

        #background-layer {
            position: fixed;
            top: 0;
            left: 0;
            width: 100vw;
            height: 100vh;
            z-index: -1;
            filter: blur(33px);
            opacity: 0.8;
            background-position: center center;  /* 图片居中 */
            background-size: cover;              /* 覆盖整个容器，保持宽高比 */
            background-repeat: no-repeat;        /* 不重复 */
        }
        
        #background-layer::before {
            content: "";
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.36);
            z-index: 0;
        }

        .player-controls {
            text-align: center;
            margin-bottom: 0px;
        }

        audio {
            width: 100%;
            margin: 10px 0;
        }


        /* 隐藏适配浏览器Chrome/Safari/Opera */
        .lyric-container::-webkit-scrollbar {
            display: none;
        }
        
        .lyric-container {
            max-height: 360px;
            overflow-y: auto;
            margin: 0 0 10px 0;
            /*padding: 0px 0px 10px 0px;*/
            border: 0px solid #eee;
            /*border-radius: 8px;*/
            text-align: center;
            scrollbar-width: none;
            -ms-overflow-style: none;
            pointer-events: none; /*禁止滑动歌词*/
            /* 隐藏滚动条 
            scrollbar-width: none; 
            -ms-overflow-style: none; */
        }

        .lyric-container::-webkit-scrollbar {
            display: none;
        }
        
        .lyric-line {
            padding: 6px 6px;
            transition: all 0.3s;
            opacity: 0.6;
            font-size: 16px;
            white-space: normal; /* 允许换行 */
            word-break: break-word; /* 长单词或URL等强制换行 */
            text-align: center; /* 保持居中 */
            display: block; /* 改为块级元素，确保居中 */
            margin: 0 auto; /* 水平居中 */
            width: fit-content; /* 宽度自适应内容 */
            max-width: 90%; /* 限制最大宽度，防止溢出 */
        }
        
        .lyric-line.active {
            color: var(--theme-color);
            font-weight: bold;
            opacity: 1;
            transform: scale(1.2);
            white-space: normal;
            word-break: break-word;
            text-align: center;
            display: block; /* 改为块级元素 */
            margin: 0 auto; /* 水平居中 */
            width: fit-content; /* 宽度自适应内容 */
            max-width: 80%; /* 目标歌词，限制最大宽度，防止放大后溢出 */
        }

        
        /*封面图旋转*/
        @keyframes rotate {
            from { transform: rotate(0deg); }
            to { transform: rotate(360deg); }
        }
        
        /*页脚*/
        .footer {
            padding: 1rem 0;
            margin-top: auto;
        }
        
        .footer .container1 {
            max-width: 800px;
            margin: 0 auto;
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 0 1rem;
        }

        /*.footer h4 {
            color: #000000;
            font-size: 0.85rem;
            font-weight: 400;
            margin: 0;
        }*/

        .footer a {
            /*color: #000000;*/
            text-decoration: none;
            /*font-size: 0.85rem;*/
            transition: all 0.2s ease;
            display: flex;
            align-items: center;
            gap: 0.4rem;
        }
        /* 悬停 
        .footer a:hover {
            color: #000;
            text-decoration: underline;
        }*/

        .footer mark {
            background: transparent;
            /*color: var(--theme-color);*/
            color: #ffffffb2;
            font-weight: bold;
            padding: 0;
            position: relative;
            text-shadow: 0 0.2px 0.4px rgba(200, 200, 200, 0.2);
        }

        .footer mark::after {
            content: "";
            position: absolute;
            left: 0;
            bottom: -2px;
            width: 100%;
            height: 2px;
            background: linear-gradient(90deg, var(--theme-color) 30%, transparent 50%);
;
            background-size: 4px 2px;
        }
        
        
        
        /*模拟打字*/
        .textt {
            text-align: center;
            padding: 0px;
            height: 38px;
        }
        
        .dynamic-text {
            color: #1A9D5D;
            font-size: 16px;
            font-weight: bold;
        }

        .dynamic-text::after {
            content: '\00a0|';
            margin-left: 2px;
            animation: print 1s infinite;
        }

        @keyframes print {
            0% { opacity: 0; }
            50% { opacity: 1; }
            100% { opacity: 0; }
        }

        .input-section {
            position: relative;
            display: flex;
            gap: 10px;
            margin-bottom: 10px;
        }
        
        input[type="text"] {
            flex: 1;
            padding: 5px 26px 5px 5px;
            border: 1px solid #ddd;
            border-radius: 4px;
            min-width: 0;
            font-size: 16px !important;
            background: #F1F3F4;
            transform: translateZ(0);
        }
        
        input[type="urltext"] {
            flex: 1;
            padding: 5px 5px 5px 5px;
            border: 1px solid #ddd;
            border-radius: 4px;
            min-width: 0;
            font-size: 16px !important;
            background: #F1F3F4;
            transform: translateZ(0);
        }
        
        .clear-btn {
            position: absolute;
            right: 120px;
            top: 45%;
            transform: translateY(-50%);
            background: transparent;
            border: none;
            color: rgba(255, 0, 0, 0.5);
            cursor: pointer;
            padding: 0;
            width: 20px;
            height: 20px;
            display: flex;
            align-items: center;
            justify-content: center;
            opacity: 0;
            visibility: hidden;
            transition: opacity 0.2s, visibility 0.2s;
            flex-shrink: 0;
        }
        
        .clear-btn.visible {
            opacity: 1;
            visibility: visible;
        }
        
        /*按钮*/
        button {
            padding: 10px 16px;
            background: #1A9D5D;
            color: #F1F3F4;
            border: none;
            border-radius: 4px;
            cursor: pointer;
            white-space: nowrap;
            flex-shrink: 0;
            font-size: 16px;
        }
        
        #copyBtn {
            background-color: var(--theme-color);
        }
        
        /* 歌曲列表样式 */
        #songList.song-list {
            /*width: calc(100% - 0px);*/
            margin: 2px 0 8px 0;
            background: rgba(255,255,255,0.5);
            border-radius: 6px;
            box-shadow: 0 2px 8px rgba(0,0,0,0.5);
            max-height: 200px;
            overflow-y: auto;
            display: none;
        }
        
        .song-item {
            padding: 10px;
            border-bottom: 1px solid rgba(52, 152, 219, 0.12);
            cursor: pointer;
            transition: background 0.2s;
        }
        
        .song-item.active {
            background-color: #f5f5f5; /* 高亮背景 */
            color: black; /* 高亮文字 */
        }

        .song-list-header {
            padding: 8px 10px;
            font-size: 12px;
            color: #666;
            border-bottom: 2px solid rgba(52, 152, 219, 0.16);
        }
        
        .song-artist {
          color: #868686;
        }
        
        .song-zj {
          color: #868686;
        }